package sctu.edu.java.year2016.team07.liaohengju.day20160521.chapter4_1;

/**
 * Created by hengju on 2016/5/21.
 * 1、编写java程序，实现判断变量x是奇数还是偶数。
 */
public class Zuoye4_1 {
    public static void main(String[] arge){
        int x=3;
        if(x%2==0)
            System.out.println("变量x是偶数");
        else  System.out.println("变量x是奇数");
    }
}
